<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Clear screen</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ncurses-cbreak.html">ncurses_cbreak</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ncurses-clrtobot.html">ncurses_clrtobot</a></div>
 <div class="up"><a href="ref.ncurses.html">Ncurses 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ncurses-clear" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ncurses_clear</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.7, PHP 5 &lt; 5.3.0, PECL ncurses &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">ncurses_clear</span> &mdash; <span class="dc-title">Clear screen </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.ncurses-clear-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>ncurses_clear</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">此函数是<em class="emphasis">实验性</em>的。此函数的表象，包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担 。</p></div>
  <p class="para">
   Clears the screen completely without setting blanks.
  </p>
  <p class="para">
   Note: <span class="function"><strong>ncurses_clear()</strong></span> clears the screen without
   setting blanks, which have the current background rendition. To
   clear screen with blanks, use <span class="function"><a href="function.ncurses-erase.html" class="function">ncurses_erase()</a></span>.
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.ncurses-clear-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.ncurses-clear-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ncurses-erase.html" class="function" rel="rdfs-seeAlso">ncurses_erase()</a> - Erase terminal screen</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ncurses-cbreak.html">ncurses_cbreak</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ncurses-clrtobot.html">ncurses_clrtobot</a></div>
 <div class="up"><a href="ref.ncurses.html">Ncurses 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
